﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Model.ZJCQ
{
    using DB_Model.ZJK;

    /// <summary>
    /// 专家抽取细节记录
    /// </summary>
    [Serializable]
    public class ZJ_extract_detail : Entity
    {
        #region 数据表名称
        public static readonly string TableName = "zj_extract_detail";
        #endregion

        #region 数据表字段结构
        public struct Columns
        {
            /// <summary>
            /// 所属抽取记录ID
            /// </summary>
            public static readonly string extract_id = @"extract_id";

            /// <summary>
            /// 是否选中
            /// </summary>
            public static readonly string is_selected = @"is_selected";

            /// <summary>
            /// 抽取过程信息
            /// </summary>
            public static readonly string un_selected_msg = @"un_selected_msg";

            /// <summary>
            /// 排序标志
            /// </summary>
            public static readonly string order_flag = @"order_flag";

            /// <summary>
            /// 所属专家ID
            /// </summary>
            public static readonly string expert_id = @"expert_id";

            /// <summary>
            /// 专家姓名
            /// </summary>
            public static readonly string zj_name = @"zj_name";

            /// <summary>
            /// 性别
            /// </summary>
            public static readonly string zj_sex = @"zj_sex";

            /// <summary>
            /// 身份证号
            /// </summary>
            public static readonly string zj_idcard_number = @"zj_idcard_number";

            /// <summary>
            /// 专家工作单位
            /// </summary>
            public static readonly string zj_company = @"zj_company";

            /// <summary>
            /// 专家专业
            /// </summary>
            public static readonly string zj_professional = @"zj_professional";

            /// <summary>
            /// 专家职务
            /// </summary>
            public static readonly string zj_position = @"zj_position";

            /// <summary>
            /// 专家职称
            /// </summary>
            public static readonly string zj_title = @"zj_title";

            /// <summary>
            /// 专家工作电话
            /// </summary>
            public static readonly string zj_tele_work = @"zj_tele_work";

            /// <summary>
            /// 专家家庭电话
            /// </summary>
            public static readonly string zj_tele_home = @"zj_tele_home";

            /// <summary>
            /// 专家手机
            /// </summary>
            public static readonly string zj_mobile = @"zj_mobile";

            /// <summary>
            /// 专家通信地址
            /// </summary>
            public static readonly string zj_mail_address = @"zj_mail_address";

            /// <summary>
            /// 专家类型：专业评委、商务评委、业主评委
            /// </summary>
            public static readonly string zj_type_name = @"zj_type_name";

            /// <summary>
            /// 专家所属分类名称，以逗号分隔
            /// </summary>
            public static readonly string zj_category_names = @"zj_category_names";
        }
        #endregion

        #region 字段
        /// <summary>
        /// 所属抽取记录
        /// </summary>
        public virtual ZJ_extract extract { get; set; }

        /// <summary>
        /// 是否选中
        /// </summary>
        public virtual int is_selected { get; set; }

        /// <summary>
        /// 抽取过程信息
        /// </summary>
        public virtual string un_selected_msg { get; set; }

        /// <summary>
        /// 排序标志
        /// </summary>
        public virtual int order_flag { get; set; }

        /// <summary>
        /// 专家
        /// </summary>
        public virtual ZJK.ZJ_expert expert { get; set; }

        /// <summary>
        /// 专家姓名
        /// </summary>
        public virtual string zj_name { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public virtual string zj_sex { get; set; }

        /// <summary>
        /// 身份证号
        /// </summary>
        public virtual string zj_idcard_number { get; set; }

        /// <summary>
        /// 专家工作单位
        /// </summary>
        public virtual string zj_company { get; set; }

        /// <summary>
        /// 专家专业
        /// </summary>
        public virtual string zj_professional { get; set; }

        /// <summary>
        /// 专家职务
        /// </summary>
        public virtual string zj_position { get; set; }

        /// <summary>
        /// 专家职称
        /// </summary>
        public virtual string zj_title { get; set; }

        /// <summary>
        /// 专家工作电话
        /// </summary>
        public virtual string zj_tele_work { get; set; }

        /// <summary>
        /// 专家家庭电话
        /// </summary>
        public virtual string zj_tele_home { get; set; }

        /// <summary>
        /// 专家手机
        /// </summary>
        public virtual string zj_mobile { get; set; }

        /// <summary>
        /// 专家通信地址
        /// </summary>
        public virtual string zj_mail_address { get; set; }

        /// <summary>
        /// 专家类型：专业评委、商务评委、业主评委
        /// </summary>
        public virtual string zj_type_name { get; set; }

        /// <summary>
        /// 专家所属分类名称，以逗号分隔
        /// </summary>
        public virtual string zj_category_names { get; set; }
        #endregion
    }
}
